<h1><?php echo __("Categories List") ?></h1>

<table>
  <thead>
    <tr>
      <th><?php echo __("Categories") ?></th>
      <th><?php echo __("Categories image") ?></th>
      <th><?php echo __("Parent") ?></th>
      <th><?php echo __("Sort order") ?></th>
      <th><?php echo __("Created at") ?></th>
      <th><?php echo __("Updated at") ?></th>
      <th><?php echo __("Deleted at") ?></th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($categoriesList as $categories): ?>
    <tr>
      <td><a href="<?php echo url_for('categories/edit?categories_id='.$categories->getCategoriesId()) ?>"><?php echo $categories->getCategoriesId() ?></a></td>
      <td><?php echo $categories->getCategoriesImage() ?></td>
      <td><?php echo $categories->getParentId() ?></td>
      <td><?php echo $categories->getSortOrder() ?></td>
      <td><?php echo $categories->getCreatedAt() ?></td>
      <td><?php echo $categories->getUpdatedAt() ?></td>
      <td><?php echo $categories->getDeletedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

<a href="<?php echo url_for('categories/create') ?>"><?php echo __("Create") ?></a>
